#if 1
/**
 @file sys_at_peri.h

 @date 2021-12-09

 @version v1.0

 The file contains at peri funcation
*/

#ifndef _SYS_AT_PERI_H
#define _SYS_AT_PERI_H
#ifdef __cplusplus
extern "C" {
#endif


/****************************************************************
 *
 * Header Files
 *
 ***************************************************************/
#include "sys_usw_peri.h"

extern int32
sys_at_peri_set_mdio_clock(uint8 lchip, ctc_chip_mdio_type_t type, uint16 freq);

extern int32
sys_at_peri_get_mdio_clock(uint8 lchip, ctc_chip_mdio_type_t type, uint16* freq);

extern int32
sys_at_peri_set_mac_led_clock(uint8 lchip, uint16 freq);

extern int32
sys_at_peri_get_mac_led_clock(uint8 lchip, uint16* freq);

extern int32
sys_at_peri_get_chip_sensor(uint8 lchip, void* sensor);

extern int32
sys_at_peri_set_sensor_monitor(uint8 lchip, void* sen_monitor);

extern int32
sys_at_peri_get_sensor_monitor(uint8 lchip, void* sen_monitor);

extern int32
sys_at_peri_set_gpio_output(uint8 lchip, uint8 gpio_id, uint8 out_para);

extern int32
sys_at_peri_get_gpio_input(uint8 lchip, uint8 gpio_id, uint8* input);

extern int32
sys_at_peri_set_gpio_mode(uint8 lchip, uint8 gpio_id, ctc_chip_gpio_mode_t mode);

extern int32
sys_at_peri_mdio_init(uint8 lchip);

extern int32
sys_at_peri_init(uint8 lchip);


#ifdef __cplusplus
}
#endif

#endif
#endif

